<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>奖品信息 - 快答答题</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa, #e6f0ff);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
        }
        
        /* 统一标题栏样式 */
        #header {
            background: linear-gradient(90deg, #2575fc, #6a11cb);
            padding: 12px 16px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header_con {
            display: flex;
            align-items: center;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        .back {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 8px 12px;
            position: absolute;
            left: 0;
        }
        
        .back:hover {
            transform: translateX(-5px);
        }
        
        .back span {
            display: inline-block;
            width: 20px;
            height: 20px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') no-repeat center;
            background-size: contain;
        }
        
        .top_tit {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        
        .right_div {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .right_div a {
            display: block;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            color: white;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .right_div a:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }
        
        /* 主内容区域 */
        #content_div-j {
            max-width: 800px;
            margin: 20px auto;
            padding: 15px;
        }
        
        /* 筛选区域 */
        .filter-container {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
        }
        
        .filter-button {
            flex: 1;
            padding: 12px;
            background: white;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .filter-button:hover, .filter-button.active {
            background: linear-gradient(90deg, #2575fc, #6a11cb);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
        }
        
        /* 奖品卡片 */
        .prize-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .prize-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .prize-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #6a11cb, #2575fc);
        }
        
        .prize-header {
            display: flex;
            justify-content: space-between;
            padding: 15px 20px;
            background: #f8fbff;
            border-bottom: 1px solid #f0f5ff;
        }
        
        .prize-date {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .prize-rank {
            background: linear-gradient(135deg, #2575fc, #6a11cb);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
        }
        
        .prize-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .prize-image {
            width: 180px;
            height: 180px;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: 3px solid #f0f5ff;
        }
        
        .prize-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .prize-card:hover .prize-image img {
            transform: scale(1.05);
        }
        
        .prize-info {
            text-align: center;
            margin-bottom: 15px;
        }
        
        .prize-name {
            font-size: 18px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .prize-desc {
            font-size: 14px;
            color: #7f8c8d;
        }
        
        .winner-info {
            width: 100%;
            padding: 15px;
            background: #f8fbff;
            border-radius: 12px;
            text-align: center;
            border-left: 3px solid #2575fc;
        }
        
        .winner-status {
            font-size: 16px;
            font-weight: 600;
            color: #ff3b30;
        }
        
        .winner-status.awarded {
            color: #34c759;
        }
        
        .winner-name {
            font-size: 15px;
            color: #7f8c8d;
            margin-top: 8px;
            font-style: italic;
        }
        
        /* 说明弹窗 */
        .instructions-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(3px);
        }
        
        .modal-content {
            background: white;
            border-radius: 16px;
            padding: 30px;
            width: 90%;
            max-width: 500px;
            z-index: 1001;
            position: relative;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            transform: translateY(20px);
            opacity: 0;
            animation: popupIn 0.4s ease forwards;
        }
        
        @keyframes popupIn {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .modal-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .modal-title {
            font-size: 22px;
            font-weight: 700;
            color: #2575fc;
            margin-bottom: 10px;
        }
        
        .modal-body {
            max-height: 60vh;
            overflow-y: auto;
            padding: 10px 0;
        }
        
        .instruction-item {
            margin-bottom: 15px;
            padding-left: 25px;
            position: relative;
        }
        
        .instruction-item::before {
            content: "•";
            position: absolute;
            left: 10px;
            top: 0;
            font-size: 24px;
            color: #2575fc;
        }
        
        .instruction-item h4 {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .instruction-item p {
            font-size: 14px;
            color: #7f8c8d;
        }
        
        .modal-close {
            display: block;
            width: 100%;
            padding: 12px;
            background: linear-gradient(90deg, #2575fc, #6a11cb);
            border: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 600;
            color: white;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            box-shadow: 0 4px 10px rgba(37, 117, 252, 0.3);
        }
        
        .modal-close:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
        }
        
        /* 响应式设计 */
        @media (max-width: 480px) {
            .filter-container {
                flex-direction: column;
            }
            
            .prize-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .prize-image {
                width: 150px;
                height: 150px;
            }
        }
    </style>
</head>
<body>
    <!-- 标题栏 -->
    <header id="header">
        <div class="header_con">
            <a href="javascript:history.go(-1);" class="back">
                <span></span>
            </a> 
            <div class="top_tit">奖品信息</div>
            <div class="right_div">
                <a href="#" id="showInstructions">说明</a>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <div id="content_div-j">
        <!-- 筛选区域 -->
        <div class="filter-container">
            <button class="filter-button active">全部奖品</button>
            <button class="filter-button">本月奖品</button>
            <button class="filter-button">已开奖</button>
            <button class="filter-button">未开奖</button>
        </div>
        
        <!-- 奖品卡片 -->
        <div class="prize-card">
            <div class="prize-header">
                <div class="prize-date">2025年5月</div>
                <div class="prize-rank">1-10名</div>
            </div>
            
            <div class="prize-content">
                <div class="prize-image">
                    <img src="images/iphone14.webp" alt="iPhone 14 Pro Max">
                </div>
                
                <div class="prize-info">
                    <h3 class="prize-name">iPhone 14 Pro Max</h3>
                    <p class="prize-desc">6.7英寸超视网膜XDR显示屏，A16仿生芯片，4800万像素主摄</p>
                </div>
                
                <div class="winner-info">
                    <div class="winner-status awarded">已开奖</div>
                    <div class="winner-name">获奖者：张伟、李娜、王芳等10人</div>
                </div>
            </div>
        </div>
        
        <!-- 奖品卡片 -->
        <div class="prize-card">
            <div class="prize-header">
                <div class="prize-date">2025年6月</div>
                <div class="prize-rank">1-5名</div>
            </div>
            
            <div class="prize-content">
                <div class="prize-image">
                    <img src="images/watch.webp" alt="Apple Watch Series 8">
                </div>
                
                <div class="prize-info">
                    <h3 class="prize-name">Apple Watch Series 8</h3>
                    <p class="prize-desc">45mm GPS版，血氧检测，心电图功能，全天候视网膜显示屏</p>
                </div>
                
                <div class="winner-info">
                    <div class="winner-status">未开奖</div>
                    <div class="winner-name">开奖时间：2025年6月30日</div>
                </div>
            </div>
        </div>
        
        <!-- 奖品卡片 -->
        <div class="prize-card">
            <div class="prize-header">
                <div class="prize-date">2025年7月</div>
                <div class="prize-rank">1名</div>
            </div>
            
            <div class="prize-content">
                <div class="prize-image">
                    <img src="images/macbook.webp" alt="MacBook Pro 14英寸">
                </div>
                
                <div class="prize-info">
                    <h3 class="prize-name">MacBook Pro 14英寸</h3>
                    <p class="prize-desc">M2 Pro芯片，16GB内存，1TB SSD，Liquid视网膜XDR显示屏</p>
                </div>
                
                <div class="winner-info">
                    <div class="winner-status">未开奖</div>
                    <div class="winner-name">开奖时间：2025年7月31日</div>
                </div>
            </div>
        </div>
        
        <!-- 奖品卡片 -->
        <div class="prize-card">
            <div class="prize-header">
                <div class="prize-date">2025年8月</div>
                <div class="prize-rank">1-3名</div>
            </div>
            
            <div class="prize-content">
                <div class="prize-image">
                    <img src="images/PlayStation.webp" alt="Sony PS5">
                </div>
                
                <div class="prize-info">
                    <h3 class="prize-name">Sony PlayStation 5</h3>
                    <p class="prize-desc">光驱版，825GB SSD，4K超高清蓝光，120fps游戏体验</p>
                </div>
                
                <div class="winner-info">
                    <div class="winner-status">未开奖</div>
                    <div class="winner-name">开奖时间：2025年8月31日</div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 说明弹窗 -->
    <div class="instructions-modal" id="instructionsModal">
        <div class="modal-mask" id="closeModal"></div>
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title">奖品说明</h3>
                <p>了解我们的奖品规则与发放方式</p>
            </div>
            
            <div class="modal-body">
                <div class="instruction-item">
                    <h4>奖品发放规则</h4>
                    <p>每月排名前10名的用户将获得当月奖品，奖品在每月结束后7个工作日内发放。</p>
                </div>
                
                <div class="instruction-item">
                    <h4>实物奖品领取</h4>
                    <p>实物奖品获奖者需在开奖后3天内填写收货地址，逾期视为自动放弃奖品。</p>
                </div>
                
                <div class="instruction-item">
                    <h4>虚拟奖品发放</h4>
                    <p>虚拟奖品（如会员卡、充值卡等）将通过站内信直接发放兑换码。</p>
                </div>
                
                <div class="instruction-item">
                    <h4>奖品价值说明</h4>
                    <p>所有奖品均为正品，价值以官方零售价为准，图片仅供参考。</p>
                </div>
                
                <div class="instruction-item">
                    <h4>年终特别大奖</h4>
                    <p>年度总排名前3名用户将额外获得价值10万元的豪华SUV一辆。</p>
                </div>
                
                <div class="instruction-item">
                    <h4>注意事项</h4>
                    <p>禁止任何作弊行为，一经发现取消获奖资格并永久封禁账号。</p>
                </div>
            </div>
            
            <button class="modal-close" id="closeModalBtn">我知道了</button>
        </div>
    </div>

    <script>
        // 说明弹窗控制
        document.addEventListener('DOMContentLoaded', function() {
            const modal = document.getElementById('instructionsModal');
            const showBtn = document.getElementById('showInstructions');
            const closeBtn = document.getElementById('closeModalBtn');
            const mask = document.getElementById('closeModal');
            
            // 显示弹窗
            showBtn.addEventListener('click', function(e) {
                e.preventDefault();
                modal.style.display = 'flex';
            });
            
            // 关闭弹窗
            function closeModal() {
                modal.style.display = 'none';
            }
            
            closeBtn.addEventListener('click', closeModal);
            mask.addEventListener('click', closeModal);
            
            // 筛选按钮交互
            const filterButtons = document.querySelectorAll('.filter-button');
            filterButtons.forEach(button => {
                button.addEventListener('click', function() {
                    filterButtons.forEach(btn => btn.classList.remove('active'));
                    this.classList.add('active');
                });
            });
        });
    </script>
</body>
</html>